<html>
	<head>
		<script type="text/javascript">
			window.onload= function () { 
				var a = new Date().getTime();
				// alert("a----------"+a)
				for (var i = 1000000; i >= 0; i--) {
					var c = 0;
					c++;
				}
				var b = new Date().getTime();
				// alert("b----------"+b)
				
				alert(b-a)

			}
		</script>
	</head>
	<body>
		
	</body>
</html>